package com.example.mysdktest.views;

import android.content.Context;
import android.graphics.Bitmap;
import android.util.AttributeSet;
import android.view.View;
import android.widget.HorizontalScrollView;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by baichuan on 2016/11/24.
 */

public class CarouselfigureView01 extends HorizontalScrollView {
    private List<View> vlist;

    public CarouselfigureView01(Context context) {
        super(context);
        initThisView(context, null, 0);
    }

    public CarouselfigureView01(Context context, AttributeSet attrs) {
        super(context, attrs);
        initThisView(context, attrs, 0);
    }

    public CarouselfigureView01(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initThisView(context, attrs, defStyleAttr);
    }

    private void initThisView(Context context, AttributeSet attrs, int defStyleAttr) {
        vlist = new ArrayList<>();

    }

    public void addItem(Bitmap bitmap){
        if(bitmap!=null){

        }

    }
}
